repo: Make abort_transaction silently succeed if we're not in a transaction
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 5 Sep 2013 21:57:53 +0000 (17:57 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 7 Sep 2013 00:31:12 +0000 (20:31 -0400)
commitf84504a8c402274ed2c93aaf9c678663a8831b95
tree7a1301e569a3a1480a696af8b18254b6bc296cbc
parentef61724269a1bdf54fef0c9ba99e9116806d90f5
repo: Make abort_transaction silently succeed if we're not in a transaction

This helps callers out a lot, and means we can always call abort_transaction
at the end of a function.

https://bugzilla.gnome.org/show_bug.cgi?id=707644
src/libostree/ostree-repo-commit.c
src/ostree/ot-builtin-commit.c